package com.cn.web.user.vo.company;

import com.cn.common.Search;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.Map;

/**
 * description: UserCompanyChangeSearch <br>
 * date: 23.7.21 14:15 <br>
 * author: cn_yaojin <br>
 * version: 1.0 <br>
 */
@Setter
@Getter
@Accessors(chain = true)
@ApiModel(value = "供应商审批检索条件")
public class UserCompanyChangeSearch extends Search {

    @ApiModelProperty(value = "企业名称")
    private String companyName;

    @ApiModelProperty(value = "入驻类型")
    private String userItemType;

    @ApiModelProperty(value = "企业类型")
    private String companyType;

    @ApiModelProperty(value = "审批类型，1-入驻申请 2-企业信息变更")
    private Integer approveType;

    @ApiModelProperty(value = "审批结果，1-通过 2-驳回")
    private Integer auditStatus;

    @JsonIgnore
    @ApiModelProperty(hidden = true, value = "待审批人主键")
    private Long userId;

    @JsonIgnore
    @ApiModelProperty(hidden = true, value = "待审批任务集")
    private Map<String, String> runTaskIdMap;

    @JsonIgnore
    @ApiModelProperty(hidden = true)
    private int type = 0;

}
